﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TP5Like.DBModel;

namespace TP5Like.DBModelValidate
{
    public class AddressMyValidate: Address
    {
        
        public  AddressMyValidate(Address address)
        {
            MyValidate myValidate = new MyValidate(address.City);
            myValidate.Require = true;

            if(!myValidate.IsOk())
            {
                MyValidateReturn.ErrorMessage = "";
            }
        }

        public void Tod<T>(T t)
        {

        }

    }
}
